home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
cenviw1.zip
/
OPENCMM.CMM
< prev
next >
Wrap
Text File
|
1993-08-05
|
496b
|
16 lines
// OpenCmm.cmm - Example Cmm source file that uses the simple
// PickFile.lib interface into the GetOpenFilename()
// function in Windows' Common dialog DLL
// (COMMDLG.DLL).
//
// This program lets user selecte a source file (default to .cmm)
// and then start notepad with that file.
#include <PickFile.lib>
FileName = GetOpenFileName("*.cmm","Select a file to edit.");
if ( FileName ) {
spawn(P_NOWAIT,"NotePad.exe",FileName);
}